package com.bigluo.common.exception;

/**
 * Created by luojun on 2017/8/31.
 */
public class ValidateException extends RuntimeException {
    private String code;
    private String msg;

    public ValidateException(){}

    public ValidateException(String code,String msg) {
        this.code = code;
        this.msg = msg;
    }

    public ValidateException(Throwable cause,String code,String msg) {
        super(cause);
        this.code = code;
        this.msg = msg;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
